import './index.less';

import React from 'react';
import { observer } from 'mobx-react';

import { Button, Modal } from 'antd';
import { WeaFormItem, WeaLocaleProvider, WeaTools,WeaSelect } from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;

import { WeaSwitch } from "comsMobx";

/**
 * @author lj
 * @description 显示提醒节类型
 * @date 2019/03/12
 */
@observer
export default class RemindTypelist extends React.Component { 
    constructor() {
        super();
    }
    render() {
        const {options=[],value='',callbackFun,isShow } = this.props;
        return (
            <div>
                {
                    isShow && <div className="wf-remind-typelist">
                            <span style={{marginRight:'5px'}}>{getLabel(528501,'流程提醒')}:</span>
                            <WeaSelect ecId={`${this && this.props && this.props.ecId || ''}_WeaSelect@a7jl2b`}
                                options={options}
                                detailtype={2}
                                value={value}
                                onChange={(v)=>{callbackFun(v)}}
                            />
                    </div>
                }
             </div>
        );
    }



}
